package com.kwum.pattern.AdapterPattern;


/**
 * Description: 笔记本使用三相插头充电
 * @author Kwum
 * @date 2017年9月13日 上午11:17:24
 * @version 1.0
 */

public class NoteBook {

    private ThreePlug three;
    
    public NoteBook(ThreePlug three){
        this.three = three;
    }
    
    public void power(){
        System.out.println("Notebook use threePlug to charge: ");
        three.powerByThreePlug();
    }
}
